<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录界面</title>
<jsp:include page="header1.jsp"></jsp:include>
</head>
<body>
<%
	Cookie[] cookies = request.getCookies();
	if(cookies != null){
		for(Cookie cookie : cookies){
			String name = cookie.getName();
			if(name.equals("loginedId")){
				response.sendRedirect("index.jsp");
				break;
			}
		}
	}
%>
            <!--shortcut end-->

              <div class="w clearfix">
                <div class="logo fl">
                    <img class="img" src="images/logo.png" alt="">
                </div>
                <div class="fl">
                   <h3 class="login-text"> 请登录</h3>
                </div>
            </div>
            <!--logo end-->
        <form action="UserLoginServlet" method="post"> 
            <div class="login-wrap">
                <div class="w">
                    <div class="login-form">
                        <div class="login-box">
                            <div class="mt">
                        <h1>会员登录</h1>
                        <div class="extra-r">
                            <div class="regist-link"><a href="register.jsp"><b></b>立即注册</a></div>
                        </div>
                    </div>
                            <div class="msg-wrap">
                               <div class="msg-error"><b></b>请输入密码</div>
                            </div>
                            <div class="mc">
                                <div class="form">
                                    <div class="item item-fore1">
                                    <label for="loginname" class="login-label name-label"></label>
                                    <input id="loginname" type="text" class="itxt" name="nickname" tabindex="1" autocomplete="off"  placeholder="邮箱/用户名/已验证手机">
                                    <span class="clear-btn" style="display: inline;"></span>
                                    </div><!--name end-->
                                    <div class="item item-fore2">
                                       <label class="login-label pwd-label" for="nloginpwd"></label>
                                        <input type="password" id="nloginpwd" name="upwd" class="itxt itxt-error" tabindex="2" autocomplete="off" placeholder="密码">
                                    </div><!--pwd end-->

                                    <div class="item item-fore3">
                                    <div class="safe">
                                        <span>
                                            <input id="autoLogin" name="chkRememberMe" type="checkbox" class="jdcheckbox" tabindex="3" >
                                            <label for="">自动登录</label>
                                        </span>
                                        <span>
                                            <input id="chkOpenCtrl" type="checkbox" name="chkOpenCtrl" class="jdcheckbox safe-chk" tabindex="4" >
                                            <label data-tips="安全控件可提高账户安全性，加密保护您的密码。" id="jdsafe">安全控件登录</label>
                                        </span>
                                         <span class="forget-pw-safe">
                                            <a href="" class="" target="_blank">忘记密码?</a>
                                        </span>
                                    </div>
                                   
                                </div><!--autologin end-->

                                <div class="item item-fore5">
                                    <div class="login-btn">
                                        <!--<a href="javascript:;" class="btn-img btn-entry" id="loginsubmit">登&nbsp;&nbsp;&nbsp;&nbsp;录</a>-->
                                        <input type="submit" name="" id="" value="登陆" class="btn-img btn-entry"/>
                                    </div>
                                </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="login-banner" >
                    <div class="w">
                        <img class="img" src="images/logo-bg.jpg" alt="">
                    </div>
                	</div>
            </div>
		</form>

            
            <div class="reg-footer">
                <ul>
                    <li><a href="">连锁营业执照</a>
                    </li>
                    <li><a href="">药品经营许可证</a>
                    </li>
                    <li><a href="">保健食品卫生许可证</a>
                    </li>
                    <li><a href="">医疗器械许可证</a>
                    </li>
                    <li><a href="">网安备案证</a>
                    </li>
                    <li><a href="">食品流通许可证</a>
                    </li>
                    <li><a href="">GSP证书</a>
                    </li>
                    <li><a href="">ICP许可证粤B2-20150066</a>
                    </li>
                </ul>
                <p>互联网药品信息服务资质证书编号：京-（经营性）-2012-0012</p>
                <p>© 2015 通药集采 版权所有</p>
            </div>
</body>
</html>